package org.yogthos;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.ListView;

public class InterstellarHegemonyActivity extends Activity {
	
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        Button button = (Button) findViewById(R.id.toListButton);
      
        button.setOnClickListener(new View.OnClickListener() 
        {
        	public void onClick(View v) 
        	{
        		
        		 Intent intentMain = new Intent(InterstellarHegemonyActivity.this , ListActivity.class);
        		 System.out.println("AA:"+intentMain!=null);
        		 InterstellarHegemonyActivity.this.startActivity(intentMain);
        	}
        });
        
    }
}